Skip to content

Add includesOwnedAudienceGroups Parameter to Audience API #1602

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 21, 2025

Conversation

github-actions[bot]
Copy link
Contributor

line/line-openapi#105

Enhancement to Shared Audiences API

This PR introduces a new query parameter includesOwnedAudienceGroups to the /v2/bot/audienceGroup/shared/list endpoint in the Business Manager API. This enhancement allows users to specify whether to include audience groups owned by the user in the response.

Changes Made

  • Added the includesOwnedAudienceGroups parameter to the API endpoint.
    • Type: Boolean
    • Default: false
    • Description:
      • true: Include audience groups owned by the LINE Official Account Manager.
      • false: Respond only with audience groups shared by Business Manager.
  • Removed the /v2/bot/audienceGroup/{audienceGroupId}/activate and /v2/bot/audienceGroup/authorityLevel endpoints.

Purpose

This update provides more flexibility in retrieving audience groups by allowing users to filter based on ownership. It is especially useful for users who manage both shared and owned audience groups. The removal of certain endpoints is part of a cleanup effort to streamline the API.

Please review the changes and let me know if there are any questions or further modifications needed.

Documents and Reference

For more information, please refer to the links provided above.

@eucyt eucyt closed this Apr 21, 2025
@eucyt eucyt reopened this Apr 21, 2025
@eucyt eucyt enabled auto-merge April 21, 2025 07:46
@eucyt eucyt added this pull request to the merge queue Apr 21, 2025
Merged via the queue into master with commit 1884091 Apr 21, 2025
6 checks passed
@eucyt eucyt deleted the update-diff-20250421073627 branch April 21, 2025 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant